package com.example.day09.net;

import com.example.day09.BannerBean;
import com.example.day09.Bean;

import io.reactivex.Observable;
import retrofit2.http.GET;

public interface ApiService {
    String strURL="https://www.wanandroid.com/";
    @GET("article/list/1/json")
    Observable<Bean> getBean();

    String bannerBean="https://www.wanandroid.com/";
    @GET("banner/json")
    Observable<BannerBean> bannerbean();
}
